import my_requests from "@/plugins/request";

/**
 * 测试get
 */
export function testGet(queryData){
    return my_requests({
        url: '/userInfo',
        method: 'get',
        params:queryData
    })
}



/**
 * 测试post
 */
export function testPost(data){
    return my_requests({
        url: '/userInfo',
        method: 'post',
        data:data
    })
}


/**
 * 测试put
 */
export function testPut(data){
    return my_requests({
        url: '/userInfo',
        method: 'put',
        data:data
    })
}


/**
 * 测试delete
 */
export function testDelete(id){
    return my_requests({
        url: '/userInfo/'+id,
        method: 'delete',
    })
}
